package com.kgcx.organization.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kgcx.dbutils.utils.CommonMapper;
import com.kgcx.organization.domain.AirportParking;

public interface AirportParkingMapper extends CommonMapper<AirportParking> {
	
public void insertAirportParking(AirportParking airportParking);
	
    public List<AirportParking> getAirportParking(@Param("airportParking") AirportParking airportParking);
	
	public void updateAirportParking(@Param("airportParking")AirportParking statioairportParkingnParking);
	
	public void deleteAirportParkingByKid(@Param("kid")Long kid);

    List<AirportParking> getUnusedParking(@Param("airportParking") AirportParking airportParking);

    public AirportParking getParkingByDriverId(@Param("driverId") Long driverId);

    void updateParkState(@Param("airportParking") AirportParking airportParking);
}